﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="showbookclubprofile.aspx.vb" Inherits="bookmeetprototype.showbookclubprofile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SidebarContent" runat="server">
    <!-- Book Club Profile Page Sidebar -->
<p><hr /><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/browsec.aspx">Go Back to Club Search</asp:HyperLink><hr />
</p>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
 <p class="text-right"><button runat="server" clientidmode="Static" id="join"  onserverclick="btnJoinClub" class="btn btn-large btn-primary" type="button">Join this book club</button>
    <button clientidmode="static" runat="server" id="success" class="btn btn-large btn-success" type="button">Successfully joined</button></li>
 </p>
    <!-- Book Club Public Profile Page -->
    <hr />
    <asp:Repeater ID="UserProfileInfo" runat="server">
    <ItemTemplate>
       <div id="wrapper">
    <div id="first">
   <asp:Image runat="server" Width="180px" ImageUrl="~/img/booknew2.png" />
    </div>
    <div id="second">
      <h3>About <%#Container.DataItem("BookClubName")%></h3></hr>
        <p><h5>Primary Contact:</h5><small><%#Container.DataItem("PrimaryContact")%></small></p>
         <p><h5>Region:</h5><small><%#Container.DataItem("BookClubLocation")%></small></p>
   
        </div>
   </div>
   <hr />
    </ItemTemplate>
    </asp:Repeater>
    <h4>Members of this Book Club:</h4>
    <p>
        &nbsp;<asp:Repeater ID="bookClubMembers" runat="server">
        <ItemTemplate>
        <%#Container.DataItem("UserName")%>
        </ItemTemplate>
        </asp:Repeater>
    </p>
</asp:Content>
